package com.hrc.provider.controller;

import com.hrc.provider.service.TicketService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TicketController {

    @Autowired
    private TicketService ticketService;

    @GetMapping("/ticket")
    public String getTicket() {
        return "放屁，别人的看法都是狗屁，你是谁只有你自己说的才算，这是爹教我的道理。\n " +
                "               ---" + ticketService.getTicket();
    }

}
